package io.mybatis.example.springboot.model;

import io.mybatis.provider.Entity;
import org.apache.ibatis.type.JdbcType;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * QRTZ_SIMPROP_TRIGGERS - 同步机制的行锁表
 *
 * @author mkj
 */
@Getter
@Setter
@Entity.Table("QRTZ_SIMPROP_TRIGGERS" remark = "同步机制的行锁表", autoResultMap = true)
public class QrtzSimpropTriggersDO {
  @Entity.Column(value = "sched_name", id = true, remark = "调度名称", updatable = false, insertable = false)
  private String schedName;

  @Entity.Column(value = "trigger_name", id = true, remark = "qrtz_triggers表trigger_name的外键", updatable = false, insertable = false)
  private String triggerName;

  @Entity.Column(value = "trigger_group", id = true, remark = "qrtz_triggers表trigger_group的外键", updatable = false, insertable = false)
  private String triggerGroup;

  @Entity.Column(value = "str_prop_1", remark = "String类型的trigger的第一个参数")
  private String strProp1;

  @Entity.Column(value = "str_prop_2", remark = "String类型的trigger的第二个参数")
  private String strProp2;

  @Entity.Column(value = "str_prop_3", remark = "String类型的trigger的第三个参数")
  private String strProp3;

  @Entity.Column(value = "int_prop_1", remark = "int类型的trigger的第一个参数")
  private Integer intProp1;

  @Entity.Column(value = "int_prop_2", remark = "int类型的trigger的第二个参数")
  private Integer intProp2;

  @Entity.Column(value = "long_prop_1", remark = "long类型的trigger的第一个参数")
  private Long longProp1;

  @Entity.Column(value = "long_prop_2", remark = "long类型的trigger的第二个参数")
  private Long longProp2;

  @Entity.Column(value = "dec_prop_1", remark = "decimal类型的trigger的第一个参数")
  private BigDecimal decProp1;

  @Entity.Column(value = "dec_prop_2", remark = "decimal类型的trigger的第二个参数")
  private BigDecimal decProp2;

  @Entity.Column(value = "bool_prop_1", remark = "Boolean类型的trigger的第一个参数")
  private String boolProp1;

  @Entity.Column(value = "bool_prop_2", remark = "Boolean类型的trigger的第二个参数")
  private String boolProp2;

}
